package com.greatwqs.wmall.task.provider;

import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * http://localhost:18099/swagger-ui/index.html
 * 
 * @author wang-qingsong
 */
@Slf4j
@EnableAsync
@EnableScheduling
@SpringBootApplication
@ComponentScan(basePackages = "com.greatwqs.wmall")
public class TaskProviderApplication {
    public static void main(String[] args) {
        SpringApplication.run(TaskProviderApplication.class, args);
    }
}
